﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="DetailHotel.aspx.cs" Inherits="DetailHotel" %>
<%@ Register Namespace="Encosia" Assembly="HighslideImage" TagPrefix="encosia" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <encosia:HighslideManager ID="HighslideManager1" runat="server" OutlineType="RoundedWhite" ControlBar="true" />

    <div style="width:820px">
        <asp:DataList ID="DataList4" runat="server" RepeatDirection="Horizontal">
            <ItemTemplate>
                <encosia:HighslideImage ID="imgPathLink" runat="server" Width="100px" Height="100px"
                            ImageUrl='<%# Eval("pathLink") %>'
                            FullImageURL='<%# Eval("pathLink") %>'  />
            </ItemTemplate>
        </asp:DataList>
        <br />
        <hr />
        <br />
        <asp:DataList ID="DataList3" runat="server">
            <ItemTemplate>
                <table style="width:100%;">
                    <tr>
                        <td>
                            <asp:Label ID="Label3" runat="server" Text='<%# Eval("hotelDescription") %>' 
                                ForeColor="White"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="color:Yellow">
                            <br />
                            Address: <asp:Label ID="Label4" runat="server" 
                                Text='<%# Eval("address") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="color:Yellow">
                            Tel: <asp:Label ID="Label5" runat="server" Text='<%# Eval("phone") %>'></asp:Label>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList>
        <br />
        <div style="text-align:right">
            <asp:LinkButton ID="lbtBack" runat="server" ForeColor="Yellow" 
                onclick="lbtBack_Click">Back</asp:LinkButton>
        </div>
        <div>
            <asp:DataList ID="DataList5" runat="server">
                <ItemTemplate>
                    <asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="False" CommandArgument='<%# Eval("hotelID") %>'
                        Font-Italic="False" Font-Size="Medium" Font-Underline="True" ForeColor="Yellow" 
                        onclick="LinkButton1_Click" Text='<%# Eval("hotelName") %>'></asp:LinkButton>
                </ItemTemplate>
            </asp:DataList>
        </div>
    </div>
</asp:Content>

